﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>DoiMatKhau</title>
    <style type="text/css">
        .khung
        {
            width: 350px;
            height: 280px;
            border: 1px solid #CCCCCC;
            margin: 0 auto;
        }
        .khungtrong
        {
            margin-top: 20px;
            height: 97px;
            width: 330px;
            margin-left: 15px;
        }
        td
        {
            height: 40px;
        }
    </style>
</head>
<body>
    <div>
        <form method="post" action="/ThanhVien/DoiMatkhau">
        <div class="khung">
        <div style="background-color:#2B65BA; color:White; font-weight:bold; text-align:center; height:30px; padding-top:5px">ĐỔI MẬT KHẨU</div>
            <div class="khungtrong">
                <table>
                    <tr>
                        <td>
                            Tên đăng nhập:
                        </td>
                        <td>
                            <%: ViewData["tendangnhap"]%>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Mật khẩu cũ:
                        </td>
                        <td>
                            <input type="text" name="matkhau" style="width: 200px; height: 28px" /><td>
                            </td>
                    </tr>
                    <tr>
                        <td>
                            Mật khẩu mới:
                        </td>
                        <td>
                            <input type="text" name="matkhaumoi" style="width: 200px; height: 28px" />
                        </td>
                    </tr>
                    <span style="color: Red">
                        <% if (ViewData["Loi"] != null)
                           {%>
                        <%: ViewData["Loi"].ToString() %>
                        <%} %>
                    </span>
                </table>
                <div style="margin-top:20px">
                    <input type="submit" value="Đổi mật khẩu" style="width: 100px; height: 35px; margin-left: 90px" /></div>
            </div>
        </div>
        </form>
    </div>
</body>
</html>
